<%@page import="dao.*"%>
<%@page import="domain.*"%>
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<jsp:include page="../common/IncludeTop.jsp"></jsp:include>
<!DOCTYPE html>
<html>
<head>
<title>Item.jsp</title>
<meta charset="UTF-8" />
<link rel="stylesheet" type="text/css" href="../css/jpetstore.css">
</head>

<body>

	<div id="BackLink">
		<a href="Product?productId=${item.productid}">返回上一级</a>
	</div>
	<center>
		<table>
			<tr>
				<td>${product.descn}</td>
			</tr>
			<tr>
				<td>${item.itemid}</td>
			</tr>
			<tr>
				<td>${item.attr1}</td>
			</tr>
			<tr>
				<td>${product.name}</td>
			</tr>
			<tr>
				<td>现有存货${inventory.qty}</td>
			</tr>
			<tr>
				<td>&yen;${item.listprice}</td>
			</tr>
			<tr>
				<td ><a href="Cart?action=add&&itemid=${item.itemid}"  class="button">添加到购物车</a></td>
			</tr>
		</table>
	</center>
</body>
</html>
<jsp:include page="../common/IncludeBottom.jsp"></jsp:include>